<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>添加商品</title>
    <link rel="stylesheet" type="text/css" href="/media/css/basic.css"/>
    <link rel="stylesheet" type="text/css" href="/media/css/foot.css"/>
</head>
<body>
    <div id="wrap" class="div_body">
        <div id="add_div" style="height: 90%; margin-top: 15px;">
            <form id="addform" name="addform" action="{{ dourl }}" style="margin: 0px; padding: 0px; width: 80%" target="_self" method="post">
                <ul class="add_ul">
                    <li>
                        <span class="dlm">
                            <em>商品名称:</em>
                            <input tabindex="1" type="text" class="text_2" name="name" id="name" value="" autocomplete="off" maxlength="32" value={{ commodity.name }}/>
                        </span>
                    </li>

                    <li>
                        <span class="dlm">
                            <em>库存：</em>
                            <input tabindex="2" type="text" class="text_2" name="stock" id="stock" value="" autocomplete="off" maxlength="8"/>
                        </span>
                    </li>

                    <li>
                        <span class="dlm">
                            <em>单价：</em>
                            <input tabindex="3" type="text" class="text_2" name="price" id="price" value="" autocomplete="off" />
                        </span>
                    </li>
                    <li>
                        <span class="dlm">
                            <em>商品类别：</em>
                            <input tabindex="4" type="text" class="text_2" name="catagory" id="catagory" value="" autocomplete="off" />
                        </span>
                    </li>
                    <li>
                        <span class="dlm">
                            <em>描述:</em>
                            <input tabindex="5" type="textarea" class="text_2" name="desc" id="desc" value="" autocomplete="off"/>
                        </span>
                    </li>
                </ul>
                <ul class="add_ul2">
                    <li><input class="submit_btn" tabindex="5" type="image" name="submit_button_add_commotity" id="submit_button_add_commotity" src="/media/warehouse/img/commit.png" /></li>
                </ul>
            </form>
        </div>
    </div>
    {% include 'foot.html' %}
</body>
</html>